package com.tkp.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: duk
 * @Date: 2021/10/27 15:28
 * @Description: 测试YML文件转换实体
 */
@Data
@Component
@ConfigurationProperties(prefix = "author")
public class Author {
    private String name;
    private String csdnUrl;

}
